package com.edu.service;

import com.edu.entity.SliderEntity;

import java.util.List;

/**
 * com.edu.service
 * 2024/7/5 10:05
 *
 * @author Fancy
 * @version 1.0
 */
public interface SliderService {
    /**
     * 返回全部的轮播图
     * @return 以List的方式返回
     */

    List<SliderEntity> getAllSlider();

    int updateSliderStatus(String newStatus, int sliderId, String token);

    int deleteSlider(int sliderId, String token);

    int createSlider(SliderEntity slider, String token);
}
